Hi Stata users,
I have dta files at both household and individual levels in the same folder with the difference in names being individual level dataset having the suffix p e.g ba03 and ba03p. I am wondering whether it's possible to tweek the command below to list files that do not end with p
Thanks in advance!
I have dta files at both household and individual levels in the same folder with the difference in names being individual level dataset having the suffix p e.g ba03 and ba03p. I am wondering whether it's possible to tweek the command below to list files that do not end with p
Code:
local files : dir "`MICSdir'" files "*.dta"
Comment